package com.cropdoctor.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cropdoctor.model.po.VideoSummaryPo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 视频总结Mapper接口
 * 
 * @author Augment Agent
 * @date 2024-12-26
 */
@Mapper
public interface VideoSummaryMapper extends BaseMapper<VideoSummaryPo> {
    
    /**
     * 根据课程ID查询最新的总结
     * 
     * @param courseId 课程ID
     * @return 视频总结
     */
    VideoSummaryPo selectLatestByCourseId(@Param("courseId") Long courseId);
}
